package org.pattern.Interceptor;

public class LogInterceptor implements Interceptor{
    @Override
    public Response intercept(TargetInvocation targetInvocation) {
        System.out.println("Logging begin");
        Response response = targetInvocation.invoke();
        System.out.println("Logging end.");
        return response;
    }
}
